<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
</head>

<body>
    <div id="root">
        <h2>欢迎来到{{name}}学习</h2>
        <h2>我校地址：{{address}}</h2>
    </div>
    <script>
        Vue.config.productionTip=false;
        const vm = new Vue({ 
            el: '#root',
            data: {
                name:'黑马程序员',
                address:'杭州下沙校区',
            }
        })
    </script>
</body>

</html>